---
title: DataLabels.NumberFormat Property (Excel)
keywords: vbaxl10.chm584093
f1_keywords:
- vbaxl10.chm584093
ms.prod: excel
api_name:
- Excel.DataLabels.NumberFormat
ms.assetid: 23a08b07-5a35-2249-6079-f8a9334c3bee
ms.date: 06/08/2017
---


# DataLabels.NumberFormat Property (Excel)

Returns or sets a  **String** value that represents the format code for the object.


## Syntax

 _expression_ . **NumberFormat**

 _expression_ A variable that represents a **DataLabels** object.


## Remarks

The format code is the same string as the  **Format Codes** option in the **Format Cells** dialog box. The **Format** function uses different format code strings than do the **NumberFormat** and **[NumberFormatLocal](datalabels-numberformatlocal-property-excel.md)** properties.


## See also


#### Concepts


[DataLabels Object](datalabels-object-excel.md)

